package com.sharainy.service;


import com.sharainy.pojo.Settlement;
import com.sharainy.pojo.SingleSettlement;

import java.util.List;
import java.util.Map;

public interface SettlementService {
    /**
     * 查询最近结算信息
     * @param merchantId
     * @return
     */
    public Settlement selectNewSettlement(String merchantId);
    /**
     * 查询商户结算信息
     * @param map
     * @return
     */
    public List<Settlement> selectSettlementById(Map<String, String> map);
    /**
     * 根据时间和id查询单个表计结算信息
     * @param map
     * @return
     */
    public List<SingleSettlement> selectSingleSettle(Map<String, String> map);
    /**
     * 根据结算id查询结算信息
     * @param id
     * @return
     */
    public Settlement selectBySettlementId(int id);
}
